<script setup>
  import { defineProps, ref } from 'vue';
  const { dataList, tableColumns} = defineProps(["dataList", "tableColumns"]);
</script>
<template>
  <el-table :data="dataList" height="250" style="width: 100%;">
    <el-table-column 
      v-for="col in tableColumns" 
      :prop="col.prop" 
      :label="col.label">
    </el-table-column>
  </el-table>
</template>
<style scoped>

</style>